#!/bin/sh -x

d=`date -d "-1 day" +"%Y %m %d"`
echo $d

./kpi_day.py $d
./cat_data.py $d
./city_data.py $d
./product_data.py $d
./product_property.py $d

for hour in `seq 0 23`; do
    echo $d $hour
    ./kpi_hour.py $d $hour
done

